package com.topsoft.micro.inter.dto;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 
 * @author guokaige
 *
 */
public class UserInfo{

	
	@NotBlank
	private String oldId;

	@NotBlank
	private String username;
	
	
	private String password;
	
	
	/**
	 * 代理人名称
	 */
	private String eleName;  
	/**
	 * 代理人证件类型
	 */
	private String elePaper;
	
	/**
	 * 代理人证件号码
	 */
	private String elePaperNumber;
	
	
	@NotBlank
	private String phone;
	
	private String email;
	
	/**
	 * 用户类型
	 */
	private String userType;
	
	/**
	 *是否是第一次登陆
	 */
	private String firstLogin;
	
	/**
	 * 用户来源
	 */
	@NotBlank
	private String userFrom;
	
	private Date createDate;
	
	private Date timestamp;
	
	/**
	 * 联系人地址
	 */
	private String ageAddr;
	
	/**
	 * 机构code
	 */
	private String orgCode;
	
	private String orgName;
	
	/**
	 * 用户状态
	 */
	private String state;
	

	/**
	 * 归属项目clientId
	 */
	@NotBlank
	private String clientId;
	

	/**
	 * 角色集合,  逗号隔开 ROLE_USER,ADMIN
	 */
	private String authorities;
	

	private Integer accountNonExpired;
	

	private Integer accountNonLocked;
	

	private Integer credentialsNonExpired;
	

	private Integer enabled;
	
	
	
	
	


	public String getOldId() {
		return oldId;
	}


	public void setOldId(String oldId) {
		this.oldId = oldId;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getEleName() {
		return eleName;
	}


	public void setEleName(String eleName) {
		this.eleName = eleName;
	}


	public String getElePaper() {
		return elePaper;
	}


	public void setElePaper(String elePaper) {
		this.elePaper = elePaper;
	}


	public String getElePaperNumber() {
		return elePaperNumber;
	}


	public void setElePaperNumber(String elePaperNumber) {
		this.elePaperNumber = elePaperNumber;
	}


	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public String getUserType() {
		return userType;
	}


	public void setUserType(String userType) {
		this.userType = userType;
	}


	public String getFirstLogin() {
		return firstLogin;
	}


	public void setFirstLogin(String firstLogin) {
		this.firstLogin = firstLogin;
	}


	public String getUserFrom() {
		return userFrom;
	}


	public void setUserFrom(String userFrom) {
		this.userFrom = userFrom;
	}


	public Date getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


	public Date getTimestamp() {
		return timestamp;
	}


	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}


	public String getAgeAddr() {
		return ageAddr;
	}


	public void setAgeAddr(String ageAddr) {
		this.ageAddr = ageAddr;
	}


	public String getOrgCode() {
		return orgCode;
	}


	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}


	public String getOrgName() {
		return orgName;
	}


	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}


	public String getState() {
		return state;
	}


	public void setState(String state) {
		this.state = state;
	}


	public String getClientId() {
		return clientId;
	}


	public void setClientId(String clientId) {
		this.clientId = clientId;
	}


	public String getAuthorities() {
		return authorities;
	}


	public void setAuthorities(String authorities) {
		this.authorities = authorities;
	}


	public Integer getAccountNonExpired() {
		return accountNonExpired;
	}


	public void setAccountNonExpired(Integer accountNonExpired) {
		this.accountNonExpired = accountNonExpired;
	}


	public Integer getAccountNonLocked() {
		return accountNonLocked;
	}


	public void setAccountNonLocked(Integer accountNonLocked) {
		this.accountNonLocked = accountNonLocked;
	}


	public Integer getCredentialsNonExpired() {
		return credentialsNonExpired;
	}


	public void setCredentialsNonExpired(Integer credentialsNonExpired) {
		this.credentialsNonExpired = credentialsNonExpired;
	}


	public Integer getEnabled() {
		return enabled;
	}


	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}
	


	

}
